package avriServer.command.avriServer;

import java.util.HashMap;

import avriServer.client.NonexistantWaiterException;
import avriServer.client.UnvalidWaiterException;
import avriServer.client.Waiter;
import avriServer.client.Worker;
import avriServer.command.Command;
import avriServer.command.WaiterBuilder;
import avriServer.json.JSONException;
import avriServer.json.JSONObject;
import avriServer.server.Dispatcher;
import avriServer.util.IdentificationException;

public class KeepAlive extends Command {

	public KeepAlive(JSONObject _jsonObject, HashMap<String, String> _attributes ) throws IdentificationException, NonexistantWaiterException {
		super(_jsonObject, _attributes);
	}

	@Override
	public void execute(Worker _worker) {
		this.getWaiter().push("avriServer.minorInfo", "kept alive.");
	}
}
